SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cedf3cbd14f38965ea1fb73b92f3e5d1e63f48aa46371a31f54c6f1d977bef35' 
  AND token = 'AgYfjRObpn/5S31ZWMLPg8cBsQFzEHCWIO7x+nrNhxM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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