SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e134de3d9e1676a1eefec30677660017865a1567789b4db6a34a973df893490' 
  AND token = 'oPMCrsA5msYATiq68R9jLOOFhpcfaURESrtFYWGWmi4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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