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

Query time 0.00048

JSON explain

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