SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc3114e05d6b6d5a278180cbea3a25ebbf938f954b308142c642808943f32dd1' 
  AND token = 'wMcUOrUBYSc1Om01i6YCZ9f3o8S26gCChuQPFVHargw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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