SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba51417898199492c6663afb8314df596a0dd16faf377a537f0dba31d95e69b7' 
  AND token = 'XIuLuh7jVMpapTi0+Dv93G89ovnAGniK6KwxE1v6MfE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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