SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'da7529e98ff4789b9a851cdbd933a45f01c272a1bed5482259548ca1c7d1a4ba' 
  AND token = 'wbhtoKb2HzwfKi/4neYbfZ/9L946pNvFHZGU3uD7krs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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