SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '217d88ab116cfbfbfa84da7150e672e94262dd2b4a57b9d5cac996c43e43b50e' 
  AND token = 'fZWWlhKkGEZrK7Lt4MyObqqX4bZpS7PMcqh8B/BPUQs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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