SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2af6cfc9a88bfbba796255282c174fef242078b0a9dc5c566f400020d0996e54' 
  AND token = '51xpRih4wiyv2Wq4S5VTYI02Ojg4PyZPM1om1W7sl1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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