SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '583e4a0f534bc8b14377d2f71f487b28587c7f0329b34998ae338f16262f91dd' 
  AND token = 'C0jdi5YBpxl3zjOsuEyWLi4g6OCO2MZwghY4nuxoAJ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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