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

Query time 0.00043

JSON explain

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