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

Query time 0.00030

JSON explain

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