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

Query time 0.00041

JSON explain

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