SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f29b1b6687509c956cd634e94bcfbeaf79ac3401310112a6b1b64bf539bfce50' 
  AND token = 'WYcXbZgF43ZnBo4xQcgacGGiK6yQ/tC+uISnZHNAlD8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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