SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddf05222cecbcba93cd72c01e37c00fb17834b5532b9b3c0be244b144254bb50' 
  AND token = '0hqdIvj1SdHkpviArgusv7kw6CJw/dhQkki62pwIE/o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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