SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd630495e76ea0331a2871553cccdb2cc7f1a64a9635805e7762c0d94662efe8e' 
  AND token = 'vr7VJ1/kzlu7uhIMqHHDv/EVNHFPuVhofs6tDCGlQgc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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