SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4707239f37ee161a5455197525495445b9e086d7556990d46a47e9792635f747' 
  AND token = 'Ulf+tIBlmo89wqHzR7NhGHvAaa6UUAYb0cc+dL4spAQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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