SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d6ef6e8a1995a6ae300a954b3811634e729b682f537851f3d562de63cf7e177' 
  AND token = 'n4Z2Ev+MNV0nw3UyN+5KCX7FrDdVZ0LRJIj+hO4p9Wk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}