SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f45982804fa7d2f7dba6327b6530743241db1e93463c667f78cec2d81e0cdac1' 
  AND token = 'kRLevXIZJtG20Ii8qzphWYvzfjSyfBFSAVCemNhHap8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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