SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b1d599c669c4b076356c8931f96dbc40ddbaaa6fc9bb4349a1bda4c5e213e26' 
  AND token = 'YfkpXP3UWFgMP5YTDiOjs0PsMiCAr6EWUfalTZI8xQI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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