SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec9878eb3e62707b570a2328fba6c650c897bd8f0f6822666050fd9289620cbd' 
  AND token = 'x0KhtooJjX8O8+OblKdIo56AqEgb8fcHPIhs1jlGFV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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