SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c13872330efeeda496135b23cff517327b2e065c5da35de219650d7db4c5e31c' 
  AND token = 'd1wUPVsVFXMAOVcyZRKvudIObRibeGJ4P8Pb/MiHEyY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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