SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17415234e7f59641f4e52b85a8018276736bd481e666bc450826af4dd73da96c' 
  AND token = 'v29V2ZaAOfu23su8m/Fjf7k3ccKAJQWIVqkyZ1H9R48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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