SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec1598ad0c410ec52e37360845ca9da9dd346e238e0790edc12a4ce41f892827' 
  AND token = 'H7R23oa3mhXYwcS2FtZK+xBu/SUPZOK5mL8zUYzojDE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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