SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2cb29fd0aa07932596d166a56185e55bf518e2aca569c0d30e0452ec3cae0f79' 
  AND token = 'FXK7sL4u6R2RFGuyQyEoHzwbKBwW9C2vFNU2L4+3IG8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}