SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f5814980ad5d105b817d4fdc3746479155e8215d6e19e300ed484af71b0b5dc' 
  AND token = 'V4QLue/8qpVlzdrJce9+2pqr9awrLV3/lB/5gFMnvJE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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