SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865472dd239e1f9fd61b6db8dc8fee09a3ebea41c37e953b77353d62f4bbe350' 
  AND token = '7P540xHVE00sbJUHjJdcr5Y57cjiK8VOfUrLmXHNDGA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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