SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1eb260a87a96008fd35545d9272f5b6612e5874df43f5c1755d8e6d1bd26fb5d' 
  AND token = 'nhFGkfPRMZQyDJmPu+H6ZBVLWTzWY0Q4UV6f7C0mhZo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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