SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3496ef4358750510ebb966b4fd628c38ebd1e3661ab7baddb75ab1651a8c8a01' 
  AND token = 'YutjhzXlHtiDh3ZrWQ+7HsvLijjmwzsh5EZPRIdCdsM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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